$OpenBSD: patch-xmpsdk_src_XMPMeta-Serialize_cpp,v 1.2 2015/11/21 15:33:56 jca Exp $
--- xmpsdk/src/XMPMeta-Serialize.cpp.orig	Thu Nov 19 19:37:14 2015
+++ xmpsdk/src/XMPMeta-Serialize.cpp	Thu Nov 19 20:02:26 2015
@@ -303,7 +303,7 @@ AppendNodeValue ( XMP_VarString & outputStr, const XMP
 				XMP_Assert ( (ch == kTab) || (ch == kLF) || (ch == kCR) );
 
 				char hexBuf[16];
-				memcpy ( hexBuf, "&#xn;", 5 );
+				strlcpy ( hexBuf, "&#xn;", 5 );
 				hexBuf[3] = kHexDigits[ch&0xF];
 				outputStr.append ( hexBuf, 5 );
 
